﻿<%@ Control Language="C#" AutoEventWireup="true" CodeBehind="Query.ascx.cs" Inherits="UI.UserControl.UI.Query" %>


<asp:DropDownList Visible="false" ID="queryType" AutoPostBack="true" OnSelectedIndexChanged="queryType_SelectedIndexChanged" runat="server" Width="100"></asp:DropDownList>
<asp:TextBox ID="queryText" Visible="false" runat="server"></asp:TextBox>
<asp:Label runat="server" ID="queryTo" Text="至" Visible="false"></asp:Label>
<asp:TextBox ID="queryLastTime" onclick="WdatePicker({dateFmt:'yyyy-MM-dd'})" Visible="false" runat="server"></asp:TextBox><asp:DropDownList ID="querySelect" runat="server" Visible="false"></asp:DropDownList>
<script type="text/javascript" src="/My97DatePicker/WdatePicker.js"></script>
<asp:LinkButton Visible="false" ID="queryBtn" runat="server" OnClick="queryBtn_Click" CssClass="btn btn-info" Style="margin-bottom: 10px"><span class='icon-search'></span>  搜索</asp:LinkButton>
<div runat="server" id="queryTaskCells" enableviewstate="true">
    <span>
        <asp:Label ID="queryType1" runat="server" Text="Label" Visible="false"></asp:Label>
        <asp:ImageButton ID="cancel1" ImageUrl="/img/cross-24-16.png" runat="server" OnClick="cancelQuery_Click" Width="12" Height="12" CommandName="queryType1" Style="margin-bottom: 5px" Visible="false" />
    </span>
    <span>
        <asp:Label ID="queryType2" runat="server" Text="Label" Visible="false"></asp:Label>
        <asp:ImageButton ID="cancel2" ImageUrl="/img/cross-24-16.png" runat="server" OnClick="cancelQuery_Click" Width="12" Height="12" CommandName="queryType2" Style="margin-bottom: 5px" Visible="false" />
    </span>
    <span>
        <asp:Label ID="queryType3" runat="server" Text="Label" Visible="false"></asp:Label>
        <asp:ImageButton ID="cancel3" ImageUrl="/img/cross-24-16.png" runat="server" OnClick="cancelQuery_Click" Width="12" Height="12" CommandName="queryType3" Style="margin-bottom: 5px" Visible="false" />
    </span>
    <span>
        <asp:Label ID="queryType4" runat="server" Text="Label" Visible="false"></asp:Label>
        <asp:ImageButton ID="cancel4" ImageUrl="/img/cross-24-16.png" runat="server" OnClick="cancelQuery_Click" Width="12" Height="12" CommandName="queryType4" Style="margin-bottom: 5px" Visible="false" /></span>
    <span>
        <asp:Label ID="queryType5" runat="server" Text="Label" Visible="false"></asp:Label>
        <asp:ImageButton ID="cancel5" ImageUrl="/img/cross-24-16.png" runat="server" OnClick="cancelQuery_Click" Width="12" Height="12" CommandName="queryType5" Style="margin-bottom: 5px" Visible="false" />
    </span>
    <br />
    <br />
</div>
<script type="text/javascript">

    function showTip(id) {
        document.getElementById(id).click();
    }

</script>

<asp:Button runat="server" ID="queryTipBtn" OnClick="queryTipBtn_Click" Style="display: none" />